<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>电商商品卡片制作</title>
    <link rel="stylesheet" href="card.css">
</head>

<body>
    <div class="container">
        <!-- 得物的项目 dw项目 前缀 tb_BEM命名规则-->
        <div class="dw_card">
            <div class="dw_card__imgBx">
                <img src="./shoes.png" alt="">
            </div>
            <div class="dw_card__contentBx">
                <h2>耐克(NIKE)运动鞋</h2>
                <div class="dw_card__size">
                    <h3>Size:</h3>
                    <span>7</span>
                    <span>8</span>
                    <span>9</span>
                    <span>10</span>
                </div>
                <div class="dw_card__color">
                    <span></span>
                    <span></span>
                    <span></span>
                </div>
                <a href="#">立即购买</a>
            </div>
        </div>
    </div>
</body>

</html>